tools/include: fix clean and rework COPYING for installed Xen public header
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 1 Dec 2022 15:28:43 +0000 (16:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Dec 2022 15:28:43 +0000 (16:28 +0100)
commit942f881eb1b4e90cbd2096e88551750092d2eaaa
treed5a757819e18f6b9c3de0ddc39c86f3ef308f624
parent894a7786c8eb20568aa8d425de59e4e3cffd5b40
tools/include: fix clean and rework COPYING for installed Xen public header

Use actual include directory used to install the public header in
COPYING file.

Also, move the input file out of "tools/include/xen/" because that
directory is removed on `make clean`.

We can't used ./configure because $includedir contain another
variable, so the change is done in Makefile.

Fixes: 4ea75e9a9058 ("Rework COPYING installed in /usr/include/xen/, due to several licences")
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
master commit: 25b55688e1f20ebb1bb15d0e82079e91cd787e5b
master date: 2022-12-01 16:14:59 +0100
tools/include/.gitignore [new file with mode: 0644]
tools/include/Makefile
tools/include/xen.COPYING.in [new file with mode: 0644]
tools/include/xen/.gitignore [deleted file]
tools/include/xen/COPYING [deleted file]